home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
utilreen
/
dmplas
/
dmplas.exe
/
DLTEST-3.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-08-15
|
2KB
|
33 lines
10 FILE$="DLTEST-3.PRN"
20 CR$=CHR$(13) :LF$=CHR$(10) :CRLF$=CR$+LF$ :ESC$=CHR$(27)
30 PRINT CRLF$:PRINT " Creating ";FILE$;" - Please wait ";
40 OPEN "O",#1,FILE$
50 GOTO 90
60 PRINT#1,ESC$;"-1"; :FOR J=2 TO N
70 PRINT#1,"[--------- Line #";J;"--------------------]"
80 NEXT J :PRINT#1,ESC$;"-0";CRLF$; :RETURN
90 PRINT#1,ESC$;"@";" DLTEST-3 Line Spacing (lines per inch) Commands Page 1";CRLF$
100 PRINT#1,ESC$;"N";CHR$(6);
110 PRINT#1," ESC 'N' 6 Sets bottom margin to skip perforation";CRLF$
120 PRINT#1,ESC$;"0";
130 PRINT#1,"[ ESC '0' sets line spacing to 1/8 inch = 8 lpi" :N=8 :GOSUB 60
140 PRINT#1,ESC$;"1";
150 PRINT#1,"[ ESC '1' sets line spacing to 7/72 inch = 10.3 lpi" :N=10 :GOSUB 60
160 PRINT#1,ESC$;"2";
170 PRINT#1,"[ ESC '2' sets line spacing to 1/6 inch = 6 lpi" :N=6 :GOSUB 60
180 DATA 24,9,27,8,54,4,72,3,36,6
190 FOR K=1 TO 5 :READ I,N
200 PRINT#1,ESC$;"3";CHR$(I);
210 PRINT#1,"[ ESC '3'";STR$(I);" sets line spacing to ";STR$(I);"/216 inch =";STR$(N);" lpi" :GOSUB 60
220 NEXT K
230 PRINT#1," DLTEST-3 Line Spacing (lines per inch) Commands Page 2";CRLF$
240 DATA 8,9,9,8,18,4,24,3,12,6
250 FOR K=1 TO 5 :READ I,N
260 PRINT#1,ESC$;"A";CHR$(I);
270 PRINT#1,"[ ESC 'A'";STR$(I);" sets line spacing to ";STR$(I);"/72 inch =";STR$(N);" lpi" :GOSUB 60
280 NEXT K
290 PRINT#1, CHR$(12);ESC$;"@";
300 CLOSE #1
310 SYSTEM
320 END